<template>
  <div class="hm-son5">
    我是孙组件:{{ $attrs }}
    <button @click="btnClick">接收 所有事件</button>
  </div>
</template>
<script>
export default {
  data() {
    return {
      num: 999
    }
  },
  methods: {
    btnClick() {
      console.log(this.$listeners)
    }
  }
}
</script>
<style lang="scss" scoped>
.hm-son5 {
  width: 100px;
  height: 100px;
  border: 5px solid rgb(5, 0, 155);
}
</style>
